/// FileName third_ad_instance
/// @Author zhuqingfang
/// @Date 2022/9/27 3:23 下午
/// @Description third ad instance

//第三方广告类型枚举（例如激励视频,banner等）
// 目前只有top on 后续可扩展其他广告平台
enum ThirdAdType {
  topOnRewardVideoAd("RewardedVideo"),
  topOnInsertAd("Interstitial"),
  topOnBannerAd("Banner"),
  topOnNativeAd("Native"),
  topOnSplashAd("Splash");

  final String typeName;

  const ThirdAdType(this.typeName);
}

//初始化时，映射接入广告平台的实例
final thirdAdInstance = ThirdAdInstance.instance;

class ThirdAdInstance with AdSourceMap {
  ThirdAdInstance._();

  static final ThirdAdInstance _instance = ThirdAdInstance._();

  static ThirdAdInstance get instance => _instance;
}

mixin AdSourceMap {
  Map adSourceMap = {};
}
